package com.kkb.service;

import com.github.pagehelper.PageInfo;
import com.kkb.pojo.QueryTeamVo;
import com.kkb.pojo.Team;

import java.util.List;

public interface TeamService {

    PageInfo<Team> queryByPage(Integer pageNum, Integer pageSize, QueryTeamVo vo);

    Integer addTeam(Team team);

    Team queryById(Integer integer);

    Integer updateTeam(Team team);

    Integer deleteTeam(Integer teamId);
}
